package com.arvin.androidrouter;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.arvin.router.annotation.Route;
import com.arvin.router.core.DNRouter;


@Route(path = "/sss/main")
public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        DNRouter.init(getApplication());

    }

    public void test(View view) {
        DNRouter.getInstance().navigation(this,DNRouter.getInstance().build("/abcd/main"),0);
    }
}
